home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / apt.postinst < prev    next >
Encoding:
Text File  |  2011-04-15  |  990 b   |  44 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. # summary of how this script can be called:
  6. #        * <postinst> `configure' <most-recently-configured-version>
  7. #        * <old-postinst> `abort-upgrade' <new version>
  8. #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
  9. #          <new-version>
  10. #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
  11. #          <failed-install-package> <version> `removing'
  12. #          <conflicting-package> <version>
  13. # for details, see http://www.debian.org/doc/debian-policy/ or
  14. # the debian-policy package
  15.  
  16. case "$1" in
  17.     configure)
  18.     apt-key update
  19.     ;;
  20.  
  21.     abort-upgrade|abort-remove|abort-deconfigure)
  22.  
  23.     ;;
  24.  
  25.     *)
  26.         echo "postinst called with unknown argument \`$1'" >&2
  27.         exit 1
  28.     ;;
  29. esac
  30.  
  31. # dh_installdeb will replace this with shell code automatically
  32. # generated by other debhelper scripts.
  33.  
  34. # Automatically added by dh_makeshlibs
  35. if [ "$1" = "configure" ]; then
  36.     ldconfig
  37. fi
  38. # End automatically added section
  39.  
  40.  
  41. exit 0
  42.  
  43.  
  44.